﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TestVisioCanvas.Helpers;

namespace TestVisioCanvas.Extensions
{
    public static class EnumExtensions
    {
        public static string ToVisioName(this RoomType r)
        {
            switch (r)
            {
                case RoomType.Room: return "Room";                    
                case RoomType.TRoom: return @"""T"" Room";
                case RoomType.LRoom: return @"""L"" Room";
                default: throw new Exception();
            }
        }        
    }
}
